package com.kyxx.mycommonproject.net;

public class UrlUtils {
    public static final String APIHTTP = "http://139.129.108.163:91";

    public static final String AVATARPATH = APIHTTP + "/data/upload/shop/avatar/";//头像路径

    public static final String IMAGEPATH = APIHTTP + "/data/upload/shop/avatar/";//商品图片路径

    public static final String HOME_ADV = UrlUtils.APIHTTP + "/api/index.php?act=index&op=adv";

    public static final String GETCATEGROY = UrlUtils.APIHTTP + "/shop/index.php?act=api&op=GetGoodClassByParentId";//获取分类

    public static final String GETAREAINFO = UrlUtils.APIHTTP + "/shop/index.php?act=api&op=GetAreaInfo";//获取省县乡三级地址

    public static final String REGISTER = UrlUtils.APIHTTP + "/shop/index.php?act=api&op=Register";//注册

    public static final String UPLOADSHOPIMG = UrlUtils.APIHTTP + "/shop/index.php?act=api&op=UploadShopidImg";//上传营业执照

    public static final String LOGIN = UrlUtils.APIHTTP + "/shop/index.php?act=api&op=Login";//登录

    public static final String LOGOUT = UrlUtils.APIHTTP + "/shop/index.php?act=api&op=LoginOut";//退出

    public static final String MODIFYPSW = UrlUtils.APIHTTP + "/shop/index.php?act=api&op=ChangePassword";//修改密码

    public static final String RESETPSW = UrlUtils.APIHTTP + "/shop/index.php?act=api&op=ResetPassword";//c重置密码

    public static final String GETUSERINFO = UrlUtils.APIHTTP + "/shop/index.php?act=api&op=GetUserInfo";//获取用户信息

    public static final String UPLOADAVTAR = UrlUtils.APIHTTP + "/shop/index.php?act=api&op=UploadAvatar";//上传头像

    public static final String CHANGEUSERINFO = UrlUtils.APIHTTP + "/shop/index.php?act=api&op=ChangeUserInfo";//修改昵称

    public static final String GETMYVISITLIST = UrlUtils.APIHTTP + "/shop/index.php?act=api&op=MyBrowse";//我的足迹

    public static final String DELETEMYVISIT = UrlUtils.APIHTTP + "/shop/index.php?act=api&op=DelBrowse";//删除我的足迹


    public static final String HOME_CLASS = UrlUtils.APIHTTP + "/api/index.php?act=index&op=josn_class";//获取首页分类

    public static String getHomeGoods(int curpage, int rows) {
        return UrlUtils.APIHTTP + "/api/index.php?act=goods&op=list&curpage=" + curpage + "&rows=" + rows;//获取首页商品信息
    }

    public static final String GOOD_DETAIL = UrlUtils.APIHTTP + "/api/index.php?act=goods&op=detail";//获取首页分类
    public static final String ADDTOCART = UrlUtils.APIHTTP + "/shop/index.php?act=api&op=AddGoodsCart";//获取首页分类
    public static final String CART = UrlUtils.APIHTTP + "/api/index.php?act=cart&op=index";//获取首页分类
    public static final String CART_MA = UrlUtils.APIHTTP + "/shop/index.php?act=api&op=MyCartsList";//获取首页分类
    public static final String AutoChangeCartGoodsNum = UrlUtils.APIHTTP + "/shop/index.php?act=api&op=AutoChangeCartGoodsNum";//自动加减商品数量
    public static final String ResetCartGoodsNum = UrlUtils.APIHTTP + "/shop/index.php?act=api&op=ResetCartGoodsNum";//重置购物车商品数量
    public static final String MarkCartGoods = UrlUtils.APIHTTP + "/shop/index.php?act=api&op=MarkCartGoods";//标记购物车商品
    public static final String DelCartGoods  = UrlUtils.APIHTTP + "/shop/index.php?act=api&op=DelCartGoods";//删除购物车商品
    public static final String MyBrowse  = UrlUtils.APIHTTP + "/shop/index.php?act=api&op=MyBrowse";//我的足迹
}
